package com.hznu.jspFinal.dao;


import com.hznu.jspFinal.entity.User;

import javax.websocket.server.PathParam;
import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User selectByUsername(String username);

    List<User> selectBatchByCondition(User user);

    List<User> selectAll();
}

